home *** CD-ROM | disk | FTP | other *** search
/ AGA Toolkit '97 / The AGA Toolkit '97.iso / c / move.doc < prev    next >
Text File  |  1996-09-07  |  2KB  |  66 lines

  1.   
  2.  
  3.                              Move 2.2a
  4.                              ---------
  5. Written by Asher Feldman
  6.  
  7. Note: Move requires the Copy, Rename, and Delete commands in your c directory.
  8.  
  9. Move 2.2a requires kickstart 2.04 or higher.   
  10.  
  11. Changes since 2.2 
  12. -----------------
  13. Move 2.2 didn't work right with the '*' wildcard, even after it was
  14. activated.  This has been fixed, but in the process, Move grew to 
  15. a huge 872 bytes.  :-(
  16.  
  17. What is it?
  18. -----------
  19. Move is a simple Un*x like "move" command.  It allows you to move files 
  20. to and from any device or directory.  It performs the same function as the 
  21. Move command on a directory utility, but from the CLI or Shell.  It can 
  22. also be used as a Rename command.  Move supports true (rename style) moves
  23. when moving files on the same device, while still allowing you to move files
  24. across volumes.
  25.  
  26. Move will also allow you to move file links, and supports all standard 2.x
  27. wildcards.
  28.  
  29. Usage
  30. -----
  31.                           Move [FROM] <arg1> [TO] <arg2>
  32.  
  33. (The [FROM] and [TO] are optional)
  34.  
  35.   <arg1> is the file you want to move.  It can contain wildcards, such as
  36. "#?.lha".  Or "*.lha" if you are using a program such as Starburst to
  37. enable the * wildcard on your system.
  38.  
  39.   <arg2> is the destination.  It can be a filename, directory or device.
  40.   The "" wildcard may be used here, and stands for your current directory. 
  41.  
  42.   To move the file "readme" to ram: you would enter: (FROM and TO not needed)
  43.  
  44.                           Move FROM readme TO ram:
  45.  
  46.  
  47.   To move all files that have the prefix "mod" to the directory DH0:Music
  48. you would enter:
  49.  
  50.                           Move mod* DH0:Music
  51.  
  52.   To move "ram:readme" to your current directory you would enter:
  53.  
  54.                           Move ram:readme ""
  55.  
  56.   If you want to move every file in one directory to another, it would be:
  57.  
  58.                           Move <dir> <dir>
  59.  
  60.   Move can also be used to rename a file.  To change the name of the file 
  61. "SONG.MOD" to "MOD.SONG" you would enter:
  62.  
  63.                           Move SONG.MOD MOD.SONG
  64.  
  65.   You can move multiple files without using wildcards as well. For example,
  66. to move the files "lha", "uux", and "slect" to c: